@use "@/assets/scss/head.scss";

.container {
    .container1 {
        height: 100vh;
        overflow-y: auto;

        .subSwiper {
            height: 100% !important;
            box-sizing: border-box;
            padding-top: 1.2rem;
            overflow-y: auto;
        }
    }

    .briefBox {
        background-color: #F5F5F5;
        padding: 0.9rem 8%;

        .warpBox {
            width: 100%;
        }

        .left {
            height: 100%;
            width: calc(100% - 1.9rem);
            margin-right: 1.6rem;
            margin-left: 0.3rem;
            position: relative;
            z-index: 9;

            .titleImg {
                width: 2.8rem;
                height: 0.78rem;
                object-fit: cover;
                display: block;
            }

            .brefBox {
                p {
                    display: none;
                    background: transparent !important;
                }

                img {
                    display: none !important;
                }
            }

            .numBox {
                width: 69vw;
                height: 2.7rem;
                position: absolute;
                top: 3rem;
                left: 0;
                z-index: 9;

                .numItem {
                    background-color: #fff;
                    height: 100%;
                    padding: 0.6rem;
                    box-sizing: border-box;

                    .txt1 {
                        margin-bottom: 0.3rem;
                    }

                    ::v-deep(.el-statistic__number) {
                        color: #0252A6;
                        font-size: 0.6rem;
                    }
                }

                .numItem:first-child {
                    background-color: #0252A6;

                    ::v-deep(.el-statistic__number) {
                        color: #fff;
                        font-size: 0.6rem;
                    }
                }

                .bar {
                    height: 1.56rem;
                    width: 1px;
                    background-color: #DDDDDD;
                }

            }
        }

        .right {
            height: 100%;
            width: 100%;
            position: relative;

            .img {
                width: 100%;
                height: 7.2rem;
                object-fit: cover;
                display: block;
            }

            .anchorPoint {
                position: absolute;
                right: 0;
                top: 0.6rem;
                background-color: #fff;

                .scrollItem {
                    width: 100%;
                    padding: 0.1rem 0.2rem;
                    font-size: 0.15rem;
                    box-sizing: border-box;
                    flex-shrink: 0;
                    border-bottom: 1px solid #eee;

                    color: #333333;
                    cursor: pointer;
                    align-self: start;

                    &.active {
                        background: #134B9F;
                        color: #ffffff;

                    }

                }

                .scrollItem:nth-last-child {
                    border: 0;
                }
            }
        }

        .shell {
            height: 7.2rem;
        }
    }

    .bodyBox {
        background-color: #ffffff;
        padding: 0.5rem 8%;

        .title {
            margin-bottom: 0.5rem;
            font-size: 0.3rem;
        }

        .item {
            width: 100%;
            height: 100%;
            margin-bottom: 16px;
            overflow: hidden;

            .imgBox {
                width: 100%;
                height: 280px;
                overflow: hidden;

                .img {
                    width: 100%;
                    height: 100%;
                    display: block;
                    object-fit: cover;
                    transition: opacity .4s ease-in, transform .6s linear;
                }
            }

            .bottom {
                padding: 0.3rem 0.4rem;
                line-height: 0.26rem;
                transition: all 0.3s;
                color: #333333;
                box-sizing: border-box;

                .txt1 {
                    font-size: 0.2rem;
                }

            }

        }
    }

    .cardBox {
        width: 100%;
        height: 8rem;


        .cardItem {
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            position: relative;

            .maskBox {
                transition: all 0.6s;
                position: absolute;
                inset: 0;
                top: 40%;
                z-index: 9;

                .iconImg {
                    width: 0.8rem;
                    height: 0.8rem;
                    display: block;
                    margin-bottom: 0.3rem;
                }

                .txt1 {

                    margin-bottom: 0.5rem;
                }

                .txt2 {
                    transition: all 0.3s;
                    opacity: 1;
                }

                .txt3 {
                    transition: all 0.6s;
                    opacity: 0;
                    font-size: 0.16rem;
                    line-height: 0.28rem;
                    padding: 0 0.18rem;
                }

                .bar {
                    transition: all 0.6s;
                    width: 1px;
                    height: 0.3rem;
                    background-color: #709DCD;
                    transition: all 0.6s;
                    opacity: 0;
                }
            }

            .mask2 {
                transition: all 0.6s;
                background-color: #417DBC;
                opacity: 0;
                position: absolute;
                inset: 0;
                z-index: 8;
            }
        }
    }

    .addressBox {
        background-color: #ffffff;
        padding: 0.5rem 8%;

        .title {
            margin-bottom: 0.5rem;
            font-size: 0.3rem;
        }

        .info {
            width: 100%;
            height: 100%;

            .content {
                line-height: 0.3rem;

                .img {
                    width: 1.4rem;
                    height: 1.4rem;
                }
            }
        }

        .mapBox {
            /*地图(容器)显示大小*/
            width: 100%;
            height: 430px;
        }

        .f0 {
            flex-shrink: 0;
        }
    }

    .joinBox {
        width: 100%;
        background-image: url('@/assets/images/joinImg.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        padding: 0.3rem 20%;
        box-sizing: border-box;

        .title {
            margin-bottom: 0.3rem;
            font-size: 0.3rem;
        }

        .wrapBox {
            background-color: #fff;
            padding: 0.65rem 1.15rem 0.3rem;
            height: 100%;
            width: 100%;
            box-sizing: border-box;
            overflow-y: auto;

            .btnBox {
                margin:  30px auto;
            }

            ::v-deep(.el-form-item) {
                margin-bottom: 20px;
            }
        }




    }


}


@media screen and (max-width: 768px) {
    .container1 {
        height: auto !important;
        ::v-deep(.swiper-wrapper) {
            overflow-y: auto;
            touch-action: pan-y;
            transform: translate3d(0px, 0, 0px) !important
        }
        .swiper-slide {
            height: auto !important;
        }

    }

    .headBox {
        height: 5.2rem !important;

        .body {
            display: none;
        }
    }

    .bodyBox {
        padding: 0.8rem 3% 0.3rem !important;

        .item {
            .imgBox {}

            .bottom {
                line-height: normal;

                .txt1 {
                    font-size: 0.3rem !important;
                }
            }


        }
    }

    .briefBox {
        .left {
            .numBox {
                display: none;
            }
        }
    }

    .joinBox {
        padding: 0.6rem 0.3rem !important;
      
        .wrapBox {

            padding: 0.35rem 0.3rem !important;
            .btnBox {
                margin:   auto auto 30px !important;
            }

        }
    }

    .cardBox {
        flex-wrap: wrap;
        height: 8rem;

        .cardItem {
            width: 50% !important;
            flex: auto !important;

            .maskBox {
                top: 0.3rem !important;

                .iconImg {
                    width: 0.6rem !important;
                    height: 0.6rem !important;
                    display: block;
                    margin-bottom: 0.2rem !important;
                }

                .txt1 {
                    font-size: 0.3rem !important;
                    margin-bottom: 0.15rem !important;
                }

                .txt2 {
                    display: none;
                }

                .txt3 {
                    opacity: 1 !important;
                    font-size: 0.18 rem;
                    line-height: 0.28rem;
                    padding: 0 0.18rem;
                    display: -webkit-box;
                    word-break: break-all;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 5;
                }
            }

            .mask2 {}
        }

    }
}

@media screen and (min-width: 768px) {

    .item:hover {
        img {
            transform: scale(1.1, 1.1);
        }

        .bottom {
            background-color: #0252A6;
            color: #fff !important;
        }
    }

    .cardBox {
        .cardItem:hover {
            .maskBox {
                top: 20%;

                .txt1 {
                    margin-bottom: 0.2rem !important;
                }

                .txt2 {
                    display: none;
                }

                .txt3 {
                    opacity: 1 !important;
                }

                .bar {
                    opacity: 1 !important;
                    margin-bottom: 0.2rem;
                }

            }

            .mask2 {
                opacity: 1 !important;
            }
        }

    }

}